/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package 解析.node.charproperty.支持补集;

/**
 *
 * @author yanxi
 */
public class SingleI extends BmpCharProperty {

    public final int lower;
    public final int upper;

    public SingleI(int lower, int upper) {
        this.lower = lower;
        this.upper = upper; 
    }
    
    @Override
    public boolean isSatisfiedBy (int ch) {
        return ch == lower || ch == upper;
    }

    @Override
    public boolean isSatisfiedBy正集(int ch) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String toString正集() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String toString补集() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
